package cn.neusoft.domain;


import java.sql.Date;
import java.util.HashMap;
import java.util.Map;

public class CargoDeployBill {
    private int id;
    private Map<String, Double> planCargosInf;
    private Map<String, Double> realCargosInf;
    private java.sql.Date date;
    private int missionID;

    private String aimWarehouseName;

    private DeployBillStageEnum stage;

    public CargoDeployBill(Map<String, Double> planCargosInf, Map<String, Double> realCargosInf, Date date, int missionID, String aimWarehouseName, DeployBillStageEnum stage) {
        this.planCargosInf = planCargosInf;
        this.realCargosInf = realCargosInf;
        this.date = date;
        this.missionID = missionID;
        this.aimWarehouseName = aimWarehouseName;
        this.stage = stage;
    }

    public CargoDeployBill() {

    }

    public void setListToEmpty(){
        planCargosInf = new HashMap<String, Double>();
        realCargosInf = new HashMap<String, Double>();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Map<String, Double> getPlanCargosInf() {
        return planCargosInf;
    }

    public void setPlanCargosInf(Map<String, Double> planCargosInf) {
        this.planCargosInf = planCargosInf;
    }

    public Map<String, Double> getRealCargosInf() {
        return realCargosInf;
    }

    public void setRealCargosInf(Map<String, Double> realCargosInf) {
        this.realCargosInf = realCargosInf;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getMissionID() {
        return missionID;
    }

    public void setMissionID(int missionID) {
        this.missionID = missionID;
    }

    public String getAimWarehouseName() {
        return aimWarehouseName;
    }

    public void setAimWarehouseName(String aimWarehouseName) {
        this.aimWarehouseName = aimWarehouseName;
    }

    public DeployBillStageEnum getStage() {
        return stage;
    }

    public void setStage(DeployBillStageEnum stage) {
        this.stage = stage;
    }
}
